package com.example.wan1.model;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/***
 * 创建时间：2020/7/26 13:40
 * 创建人：10850
 * 功能描述：
 */
public class MixedEntity implements MultiItemEntity {

    public static final int ART = 1;//文章
    public static final int PRO = 2;//项目

    private int itemType;
    private CollectArticleBean mBean;

    public MixedEntity(int itemType, CollectArticleBean articleBean) {
        this.itemType = itemType;
        this.mBean = articleBean;
    }

    public CollectArticleBean getBean() {
        return mBean;
    }


    @Override
    public int getItemType() {
        return itemType;
    }
}
